package model;

import handlers.NPCInteractionHandler;

public class InteractionManager extends ModelObject {
	
	private static InteractionManager mInstance;
	
	private NPCInteractionHandler mHandler;
	
	static {
		mInstance = new InteractionManager();
	}
	
	public static InteractionManager getInstance() {
		return (mInstance);
	}
	
	private InteractionManager() {
		super("interaction_manager");
	}
	
	public void setHandler(NPCInteractionHandler handler) {
		mHandler = handler;
		this.notifyObservers();
	}
	
	public NPCInteractionHandler getHandler() {
		return (mHandler);
	}

}
